OBJ = demo

SRCS = $(wildcard *.cpp)

CC = g++

CFLAGS = -I/usr/local/systemc-2.3.3/include

LIBS = -L/usr/local/systemc-2.3.3/lib-linux64  -lsystemc


default:clean
	make $(OBJ) -f makefile.r

clean:
	rm -rf ./$(OBJ)	

$(OBJ):$(SRCS)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
	./$(OBJ)

